package com.jiankang.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.jiankang.dao.MedicalcareDao;
import com.jiankang.entity.Medicalcare;
import com.jiankang.service.MedicalcareService;
import com.jiankang.util.Page;
@Service("medicalcareService")
public class MedicalcareServiceImpl implements MedicalcareService {
	@Resource
	private MedicalcareDao medicalcareDao;
	@Override
	public List<Medicalcare> selecthealth() {
		// TODO Auto-generated method stub
		return medicalcareDao.selecthealth();
	}
	@Override
	public List<Medicalcare> condition(String med,String region) {
		// TODO Auto-generated method stub
		return medicalcareDao.condition(med,region);
	}
	@Override
	public long getAllProductCount() {
		// TODO Auto-generated method stub
		return medicalcareDao.getAllProductCount();
	}
	@Override
	public List<Medicalcare> getHealthFile(Page page) {
		// TODO Auto-generated method stub
		return medicalcareDao.getHealthFile(page);
	}

}
